<?php
if ( !$md_FoundAction )
{
	$md_FoundAction		=	true;
	
	if (isset($_GET['action']) && $_GET['action'] == 'DownloadInstaller')
	{
		include('addons/masterserver/downloadinstaller.php');
	}
	elseif (isset($_GET['action']) && $_GET['action'] == 'register')
	{
		include('addons/masterserver/register.php');
	}
	elseif (isset($_GET['action']) && $_GET['action'] == 'getinstallscript')
	{
		include('addons/masterserver/getinstallscript.php');
	}
	elseif (isset($_GET['action']) && $_GET['action'] == 'uploadinstallscript')
	{
		include('addons/masterserver/uploadinstallscript.php');
	}	
	elseif (isset($_GET['action']) && $_GET['action'] == 'getproductinformation')
	{
		$include_me = "addons/masterserver/getproductinformation.php";
		include('addons/shared/index.php');
	}
	else
	{
		$md_FoundAction		=	false;
	}
}
?>